<template>
    <div>
        <Header title='JD商城 ~ 我的页' back>
            <template #left>
            <van-icon name="arrow-left" @click="tobackFn" />
        </template>
        </Header>
        <div class="conent">
            <div class="topBox">
            <van-image round width="100" height="100" src="https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg" />
            <!-- <p>{{ 名字 }}</p> -->
        </div>
        </div>
    </div>
</template>

<script setup lang="ts">

import Header from '@/views/Header/header.vue'
import router from '@/router';

// const  phon = localStorage.getItem('')

//返回上一级
const tobackFn = () => {
    router.go(-1)
}

</script>
<style scoped lang="scss">
.topBox {
    padding: 10px 15px;
    box-sizing: border-box;
    
    
}
</style>